package com.example.comment_oa.aspact;

public class MyException extends Exception{
    private String detail;

    public MyException(String a) {
        this.detail = a;
    }
    //异常的打印信息  toString
    @Override
    public String toString() {
        return "MyException{" + detail + '}';
    }
}
